package cn.s1995.sloth.bizs.oo.dto;

import cn.s1995.sloth.bizs.entity.ProdProp;
import cn.s1995.sloth.bizs.entity.ProdPropValue;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.util.List;

/**
 * ProdPropDTO
 *
 * @author Lex
 * @description
 * @date 2023/12/15 11:17
 */
@Data
@Schema(description = "产品属性")
public class ProdPropDTO extends ProdProp {

    /**
     * 属性值
     */
    @NotEmpty(message="规格属性值不能为空")
    private List<ProdPropValue> prodPropValueList;
}
